package com.zzs.covid19_view.common.config;

/**
 * 文件名: Crawler
 * 创建者: zzs
 * 创建时间: 2021/8/11 11:44
 * 描述: 数据源Url
 */
public class Crawler {

    public static final String URL = "https://3g.dxy.cn/newh5/view/pneumonia";
    /**
     * 时间线新闻
     */
    public static final String TIME_LINE_REGEX_TEMPLATE = "\\[(.*?)\\]";
    //    public static final String TIME_LINE_ATTRIBUTE="getTimelineService";
    public static final String TIME_LINE_ATTRIBUTE = "getTimelineService1";
    /**
     * 各省信息
     */
    public static final String AREA_INFORMATION_REGEX_TEMPLATE = "\\[(.*)\\]";
    public static final String AREA_INFORMATION_ATTRIBUTE = "getAreaStat";
    /**
     * 总数据
     */
    public static final String STATISTICS_REGEX_TEMPLATE_1 = "\\{(\"id\".*)\\}";
    public static final String STATISTICS_REGEX_TEMPLATE_3 = "\\{(\"id\".*?)\\}\\}";
    public static final String STATISTICS_REGEX_TEMPLATE_2 = "\\{\"id\"(.*?\\}){38}";
    public static final String STATISTICS_ATTRIBUTE = "getStatisticsService";


}
